package com.yx.modules.api.service;


import com.yx.common.utils.Query;
import com.yx.modules.api.entity.TbRewardRecord;

import java.util.List;
import java.util.Map;

/**
 * 打赏记录
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-12 14:34:41
 */
public interface TbRewardRecordService {
	
	TbRewardRecord queryObject(Integer id);
	
	List<TbRewardRecord> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbRewardRecord rewardRecord);
	
	void update(TbRewardRecord rewardRecord);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    Integer findTotalByUserid(Integer userId);

    List<TbRewardRecord> queryList1(Query query);

	int queryTotal1(Query query);
}
